<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<STYLE>
TD {
	FONT-SIZE: 12px;
	COLOR: #ffffff;
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}
</STYLE>
<script type="text/javascript">
	function tick() {
		var years, months, days, hours, minutes, seconds;
		var intYears, intMonths, intDays, intHours, intMinutes, intSeconds;
		var today;
		today = new Date(); //ϵͳ��ǰʱ��
		intYears = today.getFullYear(); //�õ����,getFullYear()��getYear()������
		intMonths = today.getMonth() + 1; //�õ��·ݣ�Ҫ��1
		intDays = today.getDate(); //�õ�����
		intHours = today.getHours(); //�õ�Сʱ 
		intMinutes = today.getMinutes(); //�õ�����
		intSeconds = today.getSeconds(); //�õ�����
		years = intYears + "-";

		if (intMonths < 10) {
			months = "0" + intMonths + "-";
		} else {
			months = intMonths + "-";
		}
		if (intDays < 10) {
			days = "0" + intDays + " ";
		} else {
			days = intDays + " ";
		}
		if (intHours == 0) {
			hours = "00:";
		} else if (intHours < 10) {
			hours = "0" + intHours + ":";
		} else {
			hours = intHours + ":";
		}
		if (intMinutes < 10) {
			minutes = "0" + intMinutes + ":";
		} else {
			minutes = intMinutes + ":";
		}
		if (intSeconds < 10) {
			seconds = "0" + intSeconds + " ";
		} else {
			seconds = intSeconds + " ";
		}
		timeString = years + months + days + hours + minutes + seconds;
		Clock.innerHTML = timeString;
		window.setTimeout("tick();", 1000);
	}
	window.onload = tick;
</script>
</head>
<BODY leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
	<TABLE  style="width:100%;" >
		<TR bgColor=#73a3d4 height=40>
			<TD noWrap align=right width=209><SPAN id="Clock"></SPAN>
			</TD>
		</TR>
	</TABLE>
</BODY>
</HTML>